import Vue from 'vue'
import AdvanceNode from './advanceLib/index'
import SceneLibNode from './sceneLib/index'
import ServiceLibNode from './serviceLib/index'
import ThirdLibNode from './thirdLib/index'
import TspLibNode from './tspLib/index'
import InteractiveLibNode from './interactiveLib/index'
import ExternalNode from './externalNode/index'

const ruleNode = [].concat(AdvanceNode, SceneLibNode, ServiceLibNode, ThirdLibNode, TspLibNode, InteractiveLibNode, ExternalNode)
export const ruleNodeComponent = []

// 注册全局组件
ruleNode.forEach((el) => {
  Vue.component(el.name, el)
  ruleNodeComponent.push(el.name)
})
